<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,body,.container {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
        }
        .container header {
            flex:0 0 60px;
            width: 100%;
            background-color: #B3C0D1;
        }
        /*撑满header与footer剩余的高度*/
        .container .main {
            flex:1;
            width: 100%;
            display: flex;
        }
        .container .main aside {
            flex: 0 0 200px;
            background-color: #D3DCE6;
        }
        .container .main section {
            flex: 1;
            background-color: #E9EEF3;
        }
        .container footer {
            flex:0 0 60px;
            width: 100%;
            background-color: #B3C0D1;
        }
    </style>
</head>
<body>
    <div class="container">
        <header></header>
        <!-- 网页主要内容部分 -->
        <div class="main">
            <aside></aside>
            <section></section>
        </div>
        <footer></footer>
    </div>
</body>
</html>